lldb-swig-2
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Mon, 31 Jul 2023 20:16:10 +0000 (21:16 +0100)
committerGianfranco Costamagna <locutusofborg@debian.org>
Mon, 31 Jul 2023 20:16:10 +0000 (21:16 +0100)
===================================================================

Gbp-Pq: Topic lldb
Gbp-Pq: Name lldb-swig-2.diff

lldb/bindings/python/python-typemaps.swig

index b1ace4ff3b1e1491528fff3e9ef103c7aa680869..5f8f4aa678c4009cb3169edab455634cb827a3c4 100644 (file)
@@ -439,7 +439,7 @@ bool SetNumberFromPyObject<double>(double &number, PyObject *obj) {
 
 %typemap(out) lldb::FileSP {
   $result = nullptr;
-  lldb::FileSP &sp = $1;
+  const lldb::FileSP &sp = $1;
   if (sp) {
     PythonFile pyfile = unwrapOrSetPythonException(PythonFile::FromFile(*sp));
     if (!pyfile.IsValid())